/**
 * @file: app.h
 * @brief: APP层
 * @author: liaowx
 * @date: 2019.08.03
 */
#ifndef __APP_H
#define __APP_H

#define APP_ARG_NUM (2)
#define FILE_NAME   (0)
#define CMD         (1)

struct app {
    char *arg;
    char *file_name;
    struct core *core;
    void (*app_open)(struct app *app, struct core *core);
};

#endif